import request from '../utils/request1'

export function gethistoryFault(param) {
  return request({
    url: '/cv/caseContrast/historyFault',
    method: 'post',
    data: {
      valvehallId: param.valvehallId,
      pageCurrent: param.pageCurrent,
      pageSize: param.pageSize,
      faulttypeId: param.faulttypeId,
      faultPosition: param.faultPosition,
      faultLevel: param.faultLevel
    }
  })
}

export function getsimilarCase(eventId, time) {
  return request({
    url: '/cv/caseContrast/similarCase',
    method: 'post',
    data: {
      eventId: eventId,
      time: time
    }
  })
}
